<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>本地资源</title>
    <style>
        td {
            vertical-align: middle !important;
        }
    </style>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <link rel="stylesheet" type="text/css" href="plugin/bootstrap-3.3.7/css/bootstrap.min.css"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="plugin/bootstrapValidator/bootstrapValidator.min.css">
</head>
<body>

<div class="modal fade" id="orderInfoModal" tabindex="-1" role="dialog"
     aria-labelledby="orderInfoLable" aria-hidden="true">
    <div class="modal-dialog" style="width: 750px;">
        <div class="modal-content">
            <form class="form-horizontal" id="orderForm" method="post">
                <div class="modal-header" style="min-height: 55px;">
                    <div class="col-sm-5">
                        <h4 class="modal-title" id="orderInfoLable">订单创建</h4>
                    </div>
                    <div class="col-sm-7 text-right">
                        <button type="button" class="btn btn-danger btn-sm"
                                onclick="$('#orderInfoModal').modal('hide')">
                            <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
                        </button>
                    </div>
                </div>
                <div class="form-group" style="text-align: left">
                    <label class="col-md-2 control-label">文件</label>
                    <div class="col-md-3">
                        <input disabled="disabled" type="text" class="form-control" name="fileId" id="fileId">
                    </div>
                    <label class="col-md-2 control-label">纸张大小</label>
                    <div class="col-md-3">
                        <select class="form-control" name="paperSizeId" id="paperSizeId">
                            <option value="1">A4</option>
                            <option value="2">A3</option>
                            <option value="3">A2</option>
                        </select>
                    </div>
                </div>
                <div class="form-group" style="text-align: left">
                    <label class="col-md-2 control-label">纸张颜色</label>
                    <div class="col-md-3">
                        <select class="form-control" name="paperColorId" id="paperColorId">
                            <option value="1">黑白</option>
                            <option value="2">彩色</option>
                        </select>
                    </div>
                    <label class="col-md-2 control-label">打印方式</label>
                    <div class="col-md-3">
                        <select class="form-control" name="paperTypeId" id="paperTypeId">
                            <option value="1">单面打印</option>
                            <option value="2">正反打印</option>
                        </select>
                    </div>
                </div>
                <div class="form-group" style="text-align: left">
                    <label class="col-md-2 control-label">打印数量</label>
                    <div class="col-md-3">
                        <input type="text" class="form-control" name="printCount" id="printCount">
                    </div>
                    <label class="col-md-2 control-label">预约取件时间</label>
                    <div class="col-md-3">
                        <input type="text" class="form-control" name="getTime" id="getTime">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label">店家</label>
                    <div class="col-md-3">
                        <select class="form-control" name="storeId" id="storeId">
                        </select>
                    </div>
                    <label class="col-md-2 control-label">订单备注</label>
                    <div class="col-md-3">
                        <input type="text" class="form-control" name="orderRemark" id="orderRemark">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label">单价</label>
                    <div class="col-md-3">
                        <input disabled="disabled" type="text" class="form-control" name="price" value="1.0">
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-danger"
                            onclick="$('#orderInfoModal').modal('hide')">
                        <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
                        取消
                    </button>
                    <button type="submit" class="btn btn-success">
                        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
                        提交
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<div id="upPdfModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModal" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel"> 文件上传</h4>
            </div>
            <div class="modal-body">
                <h4>您所选择的文件列表：</h4>
                <div id="ossfile">你的浏览器不支持flash,Silverlight或者HTML5！</div>
                <br/>
                <div class="modal-footer">
                    <div id="container">
                        <button id="selectfiles" href="javascript:void(0);" class='btn btn-primary btn-lg'>选择文件</button>
                        <button id="postfiles" href="javascript:void(0);" class='btn btn-primary btn-lg'>开始上传</button>
                        <button id="closeFile" type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="fileInfoModal" tabindex="-1" role="dialog"
     aria-labelledby="fileInfoLable" aria-hidden="true">
    <div class="modal-dialog" style="width: 750px;">
        <div class="modal-content">
            <form class="form-horizontal" id="fileForm" method="post">
                <div class="modal-header" style="min-height: 55px;">
                    <div class="col-sm-5">
                        <h4 class="modal-title" id="fileInfoLable">文件信息编辑</h4>
                    </div>
                    <div class="col-sm-7 text-right">
                        <button type="button" class="btn btn-danger btn-sm" onclick="$('#fileInfoModal').modal('hide')">
                            <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
                        </button>
                    </div>
                </div>
                <div class="form-group" style="text-align: left">
                    <label class="col-md-2 control-label">文件名</label>
                    <div class="col-md-4">
                        <input type="text" class="form-control" name="fileName" id="fileName">
                    </div>
                    <label class="col-md-2 control-label">关键词</label>
                    <div class="col-md-3">
                        <input type="text" class="form-control" name="keyWord" id="keyWord">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-2 control-label">是否公开</label>
                    <div class="col-md-4">
                        <input type="text" class="form-control" name="isPublic" id="isPublic">
                    </div>
                    <label class="col-md-2 control-label">价格</label>
                    <div class="col-md-3">
                        <input type="text" class="form-control" name="price" id="price">
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-danger"
                            onclick="$('#fileInfoModal').modal('hide')">
                        <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
                        关闭
                    </button>
                    <button type="submit" class="btn btn-success">
                        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
                        保存
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

<table id="fileDataTables"
       class="table table-striped table-condensed table-bordered"
       cellspacing="0" width="100%">
    <thead>
    <tr>
        <th style="width: auto;">序号</th>
        <th style="width: auto;">文件名</th>
        <th style="width: auto;">文件关键词</th>
        <th style="width: auto;">文件格式</th>
        <th style="width: auto;">上传者</th>
        <th style="width: auto;">上传时间</th>
        <th style="width: auto;">价格</th>
        <th style="width: auto;">操作信息</th>
    </tr>
    </thead>
</table>
</body>
<script src="plugin/bootstrapValidator/bootstrapValidator.min.js"></script>
<script src="system/userManage/userManage.js"></script>
<script src="system/localResource/localResource.js"></script>
<script type="text/javascript" src="h5Upload/oss-h5-upload-js-direct/upload.js"></script>
</html>

